When animations are disabled, the ease has finished before the
get_transition() call, causing the latter to return null, which will
result in an error message when connected to.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3922>
},
});
- this._dragActor.get_transition('scale-x').connect('new-frame', () => {
+ this._dragActor.get_transition('scale-x')?.connect('new-frame', () => {
this._updateActorPosition(origScale,
origDragOffsetX, origDragOffsetY, transX, transY);
});